//
//  UrlHeader.h
//  B项目
//
//  Created by 陶志福 on 15/12/16.
//  Copyright © 2015年 tzf. All rights reserved.
//

#ifndef UrlHeader_h
#define UrlHeader_h


#define kMainClass @"http://api.liwushuo.com/v2/channels/preset?gender=1&generation=1"
#define kStrategyAll @"http://api.liwushuo.com/v2/channel_groups/all" // 攻略分类All
#define kStrategySpecial @"http://api.liwushuo.com/v2/collections?limit=6&offset=0" // 攻略专题
#define kSpecialMore @"http://api.liwushuo.com/v2/collections?limit=40&offset=0" // 更多专题

#define kSpecialDedail @"http://api.liwushuo.com/v2/collections/%@/posts?gender=1&generation=1&limit=20&offset=0"  //专题详情 
#define kGiftAll @"http://api.liwushuo.com/v2/item_categories/tree" // 礼物分类

#define kDetail @"http://api.liwushuo.com/v2/channels/%@/items?gender=1&generation=1&limit=20&offset=%ld"


//搜索攻略
#define kStrategy1 @"http://api.liwushuo.com/v2/search/post?keyword="
#define kStrategy2 @"&limit=50&offset=0&sort="

//搜索礼物
#define kGift1 @"http://api.liwushuo.com/v2/search/item?keyword="
#define kGift2 @"&limit=20&offset=20&sort="

//搜索点击
#define kSearchDetail @"http://www.liwushuo.com/posts/%@/content"

#define kSearchDid @"http://www.liwushuo.com/items/%@"
#endif /* UrlHeader_h */
